package com.dinzeer.resonantisshelomoh.item;

import com.dinzeer.legendreliclib.lib.util.text.AdvancedGradientTextHelper;
import com.dinzeer.legendreliclib.lib.util.text.ColorPreset;
import net.minecraft.network.chat.Component;
import net.minecraft.world.item.Item;
import net.minecraft.world.item.ItemStack;

public class BlueRose extends Item {
    public BlueRose(Properties p_41383_) {
        super(p_41383_);
    }
    @Override
    public Component getName(ItemStack stack) {
        String originalName = super.getName(stack).getString();
        Component newName= AdvancedGradientTextHelper.createGradientText(originalName, ColorPreset.BLUE_OCEAN, AdvancedGradientTextHelper.GradientMode.FLOW);
        return newName;
    }


}
